﻿using System;

class HelloName
{
    //Exercise 1.
    //Write a method that asks the user for his name and prints “Hello, <name>” (for example, “Hello, Peter!”). 
    //Write a program to test this method.

    static void Main()
    {
        Name();
    }

    private static void Name()
    {
        Console.Write("Please enter your first name? ");
        string name = Console.ReadLine();
        Console.WriteLine("Helo, {0}!", name);
    }
}

